
from drf_haystack.viewsets import HaystackViewSet

from leisurely.serializer.search import ArticleSearchSerializers
from six_it.models import Article


class ArticleSearchView(HaystackViewSet):


    index_models = [Article]
    serializer_class = ArticleSearchSerializers
